﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVC4App.Filters
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
    public sealed class PermissionAttribute : ActionFilterAttribute
    {
        /// <summary>
        /// Gets or sets the site identifier.
        /// </summary>
        /// <value>
        /// The site identifier.
        /// </value>
        public int SiteId { get; set; }

        /// <summary>
        /// Gets or sets the per identifier.
        /// </summary>
        /// <value>
        /// The per identifier.
        /// </value>
        public int PerId { get; set; }

        public PermissionAttribute(int siteId,int perId)
        {
            

        }
    }
}